color editor: Set a name on the color sample
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 16:08:37 +0000 (11:08 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 16:10:02 +0000 (11:10 -0500)
This can be used to tweak the style from CSS, via #editor-color-sample.

gtk/ui/gtkcoloreditor.ui

index 0c8d3c789de5677b396a7988e78d6ed3a956fc89..c0d91ebd4f04c2de54ecd72a3cf3f03e65a4abdb 100644 (file)
@@ -43,6 +43,7 @@
             <child>
               <object class="GtkColorSwatch" id="swatch">
                 <property name="visible">True</property>
+                <property name="name">editor-color-sample</property>
                 <property name="can_focus">False</property>
                 <property name="rgba">rgb(255,255,255)</property>
                 <property name="selectable">False</property>